<?php

	/**
	 * @see Bike_File
	 */
	require_once 'Bike/File.php';
	
	
	class Bike_File_Tmp extends Bike_File
	{		static public function factory()
		{
			$args = func_get_args();
			$File = new self();
			if(sizeof($args))
			{
				$File->setOptions($File->makeOptions($args));
			}
			return $File;
		}

		public function __destruct()
		{
			parent::__destruct();
			if($this->_useDestruct)
			{
				$this->delete();
			}
		}
	}
